/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pradoeditor.projectexplorer.menuitem;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import pradoeditor.wizard.newitem.ProjectNewItem;

/**
 *
 * @author jaime
 */
public class MenuNewItem extends BaseMenuItem
{

    public MenuNewItem()
    {
        setText("New Item");

        addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent e)
            {
               ProjectNewItem projectNewItem = new ProjectNewItem(null, true);
               projectNewItem.setLocationRelativeTo(null);
               projectNewItem.setVisible(true);
            }
        });
    }
}
